package com.yuju.vo.hotel;

import com.yuju.common.BaseVO;
import com.yuju.common.fileld.validator.Rule.NonNull;


import java.io.Serializable;
import java.util.Date;
/**
 * 
 * 类名：BuildingVO  <br />
 *
 * 功能：
 *
 * @author : zhousc <br />
 * @Date : 2017年11月27日 上午10:35:24  <br />
 * @version : 1.1 <br />
 */
public class BuildingVO extends BaseVO implements Serializable{
    /**
     *  主键。存储UUID，由应用生成。,所属表字段为hot_building.id
     */
	@NonNull(message = "ID不能为空", serviceLine = "update,del,get")
    private String id;

    /**
     *  名称。,所属表字段为hot_building.name
     */
	@NonNull(message = "名称不能为空", serviceLine = "update,save")
    private String name;

    /**
     *  所属酒店。外键，引用酒店信息表（grp_hotel）的主键（id）。,所属表字段为hot_building.hotel_id
     */
	@NonNull(message = "分店ID不能为空", serviceLine = "update,save")
    private String hotelId;

    /**
     *  是否逻辑删除。0表示未删除，1表示已逻辑删除。,所属表字段为hot_building.is_deleted
     */
    private Byte isDeleted;

    /**
     *  创建时间。,所属表字段为hot_building.gmt_create
     */
    private Date gmtCreate;

    /**
     *  修改时间。,所属表字段为hot_building.gmt_modified
     */
    private Date gmtModified;

    /**
     *  所属集团。外键，引用集团信息表（grp_group）的主键（id）。,所属表字段为hot_building.group_id
     */
    @NonNull(message = "集团ID不能为空", serviceLine = "update,save")
    private String groupId;

    private static final long serialVersionUID = 1L;

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getHotelId() {
		return hotelId;
	}

	public void setHotelId(String hotelId) {
		this.hotelId = hotelId;
	}

	public Byte getIsDeleted() {
		return isDeleted;
	}

	public void setIsDeleted(Byte isDeleted) {
		this.isDeleted = isDeleted;
	}

	public Date getGmtCreate() {
		return gmtCreate;
	}

	public void setGmtCreate(Date gmtCreate) {
		this.gmtCreate = gmtCreate;
	}

	public Date getGmtModified() {
		return gmtModified;
	}

	public void setGmtModified(Date gmtModified) {
		this.gmtModified = gmtModified;
	}

	public String getGroupId() {
		return groupId;
	}

	public void setGroupId(String groupId) {
		this.groupId = groupId;
	}

	public static long getSerialversionuid() {
		return serialVersionUID;
	}

	public BuildingVO() {
		super();
		// TODO Auto-generated constructor stub
	}

	public BuildingVO(Integer page, Integer pageSize, String id, String name, String hotelId, Byte isDeleted,
			Date gmtCreate, Date gmtModified, String groupId) {
		super();
		this.id = id;
		this.name = name;
		this.hotelId = hotelId;
		this.isDeleted = isDeleted;
		this.gmtCreate = gmtCreate;
		this.gmtModified = gmtModified;
		this.groupId = groupId;
	}
    
    

}